package rocketman;
/*
Copyright (C) <year> <name of author>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
import java.util.*;

public class Room1 extends Room
{
private LinkedList<Enemy> temp = new LinkedList<Enemy>();
public Room1(LinkedList<Enemy> enemies, AIengine aiengine)
{
	super();

}

public void addPart0(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
    	enemies.add(new EnemyProbe(100,10, "shipred50x50-1.png",aiengine));
    	enemies.add(new EnemyProbe(200,10, "shipred50x50-1.png",aiengine));
    	enemies.add(new EnemyProbe(300,10, "shipred50x50-1.png",aiengine));
    	enemies.add(new EnemyProbe(400,10, "shipred50x50-1.png",aiengine));
    	enemies.add(new EnemyProbe(500,10, "shipred50x50-1.png",aiengine));
    	enemies.add(new EnemyProbe(600,10, "shipred50x50-1.png",aiengine));
    	enemies.add(new EnemyProbe(700,10, "shipred50x50-1.png",aiengine));
}

public void addPart1(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
    	Enemy e = new EnemyProbe(230,-50, "shipred50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyProbe(130,-50, "shipred50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyProbe(400,-50, "shipred50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyProbe(670,-50, "shipred50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
	e = new EnemyProbe5(230,-50, "shipred50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
}

public void addPart2(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
    	Enemy e = new EnemyProbe(230,-50, "shipred50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyProbe(570,-50, "shipred50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
}

public void addPart3(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
	Enemy e = new EnemyStealth(300,-100, "shipgrey100x100-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyStealth(400,-100, "shipgrey100x100-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyStealth(100,-100, "shipgrey100x100-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyStealth(700,-100, "shipgrey100x100-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
}

public void addPart4(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
    	Enemy e = new EnemyScoutShip(600,-112, "shipwhite50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyScoutShip(500,-112, "shipwhite50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyScoutShip(400,-112, "shipwhite50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
	e = new EnemyPowerup1(300, 0, "powerup64x64-1.png", aiengine);
	addPartEnemies(enemies,aiengine, e);
}

public void addPart5(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{}

public void addPart6(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
	Enemy e = new EnemyDuergarShip1(200,10, "shipduergar50x50-1.png",200,10,0.5,aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyDuergarShip1(500,10, "shipduergar50x50-1.png",500,10,0.5,aiengine);
	addPartEnemies(enemies,aiengine, e);

}

public void addPart7(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
/*
	for (int i = 0; i < spritecount; i++) {
    		Enemy e = new EnemyScoutShip(600,-112, "shipwhite50x50-1.png",aiengine);
		addPartEnemies(enemies,aiengine, e);
	}
*/
}

public void addPart8(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
    	Enemy e = new EnemyDuergarWizardShip1(400,12, "shipduergarwizard100x100-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
}

public void addPart9(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
 	Enemy e = new EnemyDuergarSatteliteShip(0,0, "shipaliengrey50x50-1.png", 4, aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyDuergarSatteliteShip(100,0, "shipaliengrey50x50-1.png", 4, aiengine);
	addPartEnemies(enemies,aiengine, e);
}

public void addPart10(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
	Enemy e = new EnemyDuergarSatteliteShip(300,0, "shipaliengrey50x50-1.png", 4, aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyDuergarSatteliteShip2(400,0, "shipaliengrey50x50-1.png", 4, aiengine);
	addPartEnemies(enemies,aiengine, e);
}


public void addPart11(LinkedList<Enemy> enemies, LinkedList<Sprite> sprites, AIengine aiengine)
{
	Enemy e = new EnemyProbe4(230,-50, "shipred50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
    	e = new EnemyProbe4(430,-50, "shipred50x50-1.png",aiengine);
	addPartEnemies(enemies,aiengine, e);
}

};
